API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsLog
FileLogger.h
1
// FileLogger.h
3
//
5
6
namespace
nkLog
7
{
11
class
DLL_LOG_EXPORT
FileLogger
final :
public
Logger
12
{
13
public :
14
18
FileLogger
() ;
22
~FileLogger
() ;
23
24
// Getters
28
std::string_view
getOutputFilePath
()
const
;
29
30
// Setters
36
void
setOutputFilePath
(
const
std::string_view& path) ;
37
38
// Actions
42
virtual
void
log
(
const
std::string_view& message,
const
std::string_view& className)
override
;
43
} ;
44
}
nkLog::FileLogger::~FileLogger
~FileLogger()
nkLog::FileLogger::FileLogger
FileLogger()
nkLog::FileLogger::setOutputFilePath
void setOutputFilePath(const std::string_view &path)
nkLog::FileLogger::log
virtual void log(const std::string_view &message, const std::string_view &className) override
nkLog
Encompasses all API of component NilkinsLog.
Definition:
ConsoleLogger.h:7
nkLog::FileLogger
Default implementation of a logger outputing the logged information to a file.
Definition:
FileLogger.h:12
nkLog::Logger
An interface to make all logging capabilities central.
Definition:
Logger.h:15
nkLog::FileLogger::getOutputFilePath
std::string_view getOutputFilePath() const
Generated by
Doxygen
1.8.18